package com.xayq.orap.model;

import java.util.Date;


public class OAuthCode{

    private String code;

    private String username;

    private String clientId;
    
    private Date createTime = new Date();

	public String getCode() {
		return code;
	}

	public OAuthCode setCode(String code) {
		this.code = code;
		return this;
	}

	public String getUsername() {
		return username;
	}

	public OAuthCode setUsername(String username) {
		this.username = username;
		return this;
	}

	public String getClientId() {
		return clientId;
	}

	public OAuthCode setClientId(String clientId) {
		this.clientId = clientId;
		return this;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public OAuthCode setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	
	@Override
    public String toString() {
        return "{" +
                "code='" + code + '\'' +
                ", username='" + username + '\'' +
                ", clientId='" + clientId + '\'' +
                '}';
    }
       
}
